<template>
  <div style="margin-bottom: 3rem">
    <div style="line-height: 2rem; margin: 1rem 0;height: 2rem; vertical-align: center">
      <h1 style="display: inline-block; margin-right: 5rem; font-size: 1.8rem">{{userName}}</h1>
      <span style="color: #99a9bf">发表于：{{commentTime}}</span>
    </div>

    <div style="font-size: 1.3rem">
      {{comment}}
    </div>
  </div>
</template>

<script>
export default {
  name: "NewsComment",
  props: ['userName', 'comment', 'commentTime']
}
</script>

<style>

</style>